<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Hello React</title>
	<script src="../vendor/react/react.min.js"></script>
	<script src="../vendor/react/JSXTransformer.js"></script>
</head>
<body>
	<div id="example"></div>
	<script type="text/jsx">
	var HelloWorld=React.createClass({
		render:function(){
			return(
				<p>
				Hello,<input type="text" placeholder="Your name here"/>!
				It is {this.props.data.toTimeString()}
				</p>
			)
		}
	});
	setInterval(function(){
		React.render(
			<HelloWorld data={new Date()} />,
			document.getElementById('example')
		);
	},500);
	</script>
</body>
</html>